import Vue from 'vue';
import ViewUI from 'view-design';

import 'view-design/dist/styles/iview.css';
import '@jiess/main/style/sass/iview.scss'

import en from 'view-design/dist/locale/en-US';
import zh from 'view-design/dist/locale/zh-CN';
const locales = { en, zh }

import mapping from '../../base/mapping';
const config = {}
if (mapping.J_sys.START_I18N) config.locale = locales[mapping.J_lanCode()]
Vue.use(ViewUI, config)
